﻿@{
    ViewBag.Title = "个人工作平台";
    Layout = "~/Views/Shared/_DefaultLayout.cshtml";
}
@section head{
    <script type="text/javascript">
    </script>
}

<script type="text/javascript">

    document.onkeydown = function (e) {
        var theEvent = window.event || e;
        var code = theEvent.keyCode || theEvent.which;
        if (code == 13) {
            document.getElementById('loadbtn').click();

        }
    }

</script>

<div class="main-container">
    <div class="main-content">
        <div class="row">

            <div class="col-sm-10 col-sm-offset-1">

                <div class="login-container">
                    <div class="position-relative" style="padding-top: 30%;">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header blue lighter bigger">
                                        <i class="icon-coffee green"></i>
                                        请输入你的登录信息
                                    </h4>

                                    <form class="form-horizontal">

                                        <label class="block clearfix">
                                            用户名
                                            <span class="block input-icon input-icon-right">
                                                <input type="text" class="form-control" placeholder="Username" ng-model="username" />
                                                <i class="icon-user"></i>
                                            </span>
                                        </label>

                                        <label class="block clearfix">
                                            密&nbsp;码
                                            <span class="block input-icon input-icon-right">
                                                <input type="password" class="form-control" placeholder="Password" ng-model="userpassword" />
                                                <i class="icon-lock"></i>
                                            </span>
                                        </label>

                                        <div class="space"></div>

                                        <div class="clearfix">
                                            <label class="inline">
                                                <input type="checkbox" class="ace" ng-mode="isautologin" id="isautologin" name="isautologin" />
                                                <span class="lbl" style="margin-left:20px">记住我</span>
                                            </label>

                                            <button type="button" class="width-35 pull-right btn btn-sm btn-primary" ng-click="onSubmit()" id="loadbtn">
                                                <i class="icon-key"></i>
                                                登录
                                            </button>
                                        </div>

                                        <div class="space-4"></div>

                                    </form>

                                    <!--<div class="social-or-login center">
                                            <span class="bigger-110">Or Login Using</span>
                                        </div>

                                        <div class="social-login center">
                                            <a class="btn btn-primary">
                                                <i class="icon-facebook"></i>
                                            </a>

                                            <a class="btn btn-info">
                                                <i class="icon-twitter"></i>
                                            </a>

                                            <a class="btn btn-danger">
                                                <i class="icon-google-plus"></i>
                                            </a>
                                        </div>-->
                                </div>
                                <!-- /widget-main -->

                                <div class="toolbar clearfix">
                                    <div>
                                        <!-- <a href="#" onclick="show_box('forgot-box'); return false;" class="forgot-password-link">
                                            <i class="icon-arrow-left"></i>
                                            忘记密码
                                        </a>-->
                                    </div>

                                    <div>
                                        <!--<a href="#" onclick="show_box('signup-box'); return false;" class="user-signup-link">重新注册
                                                <i class="icon-arrow-right"></i>
                                        </a>-->
                                    </div>
                                </div>
                            </div>
                            <!-- /widget-body -->
                        </div>
                    </div>
                    <!-- /position-relative -->
                </div>
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </div>
</div>
